home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / interapplication comm / moreosl / mib_carbon.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  1.2 KB  |  40 lines

  1. /*
  2.     File:        MIB_Carbon.h
  3.  
  4.     Contains:    prefix for Carbon target in MIB libraries project
  5.  
  6.     Written by:    Pete Gontier
  7.  
  8.     Copyright:    Copyright © 1999 Apple Computer, Inc.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>     23/9/99    Quinn   Define TARGET_API_MAC_CARBON, which is the real name of the
  13.                                     switch.  I'll remove TARGET_CARBON in some future release, once
  14.                                     MIB has made the switch to UI 3.3.
  15.          <1>     2/11/99    PCG     initial check-in
  16. */
  17.  
  18.  
  19.  
  20. #pragma once
  21.  
  22.     //
  23.     //    This file is just here to tell the Carbon target in the
  24.     //    library project to compile for Carbon. You don't need to
  25.     //    include this file; all it will ever do is #define TARGET_CARBON.
  26.     //    And, with that...
  27.     //
  28.     
  29. #define TARGET_CARBON 1
  30.  
  31.     //    TARGET_CARBON was used by older versions of the Carbon
  32.     //    interfaces.  Modern code should use TARGET_API_MAC_CARBON.
  33.     //    I've added the definition here, but I haven't removed
  34.     //    the TARGET_CARBON definition because it's used by lots
  35.     //    of code within MIB and MIB isn't prepared to make the
  36.     //    leap to Universal Interfaces 3.3 yet (because they're
  37.     //    not final yet)
  38.  
  39. #define TARGET_API_MAC_CARBON 1
  40.